package com.yunhoo.govProcure.model;

import com.yunhoo.base.model.Category;
import com.yunhoo.base.model.FinancialProject;
import com.yunhoo.sys.util.common.LoginParam;
import java.util.Date;

/**
 * 采购 年度预算 or 季度计划 编制 -- 明细信息
 *
 * @author Administrator
 */
public class CateEditDetail {

    private int pId = 0;
    private int id = -1;
    private String number = "";//编号 -- 采购编号 对应 base中的编号
    private Category cate = new Category();//品目
    private Double financial = null;//资金来源 -- 财政性资金
    private Double other = null;//资金来源 -- 其他资金
    private String organizeForm = "";//组织形式
    private String organ = "中央国家机关政府采购中心";//委托的集中采购机构
    private String cateWay = "";//采购方式
    private String costWay = "";//支出类别
    private String planWay = "";//计划类别
    private String memo = "";
    private FinancialProject project = new FinancialProject();//采购所属采购项目
    private String model = "";//规格型号
    private String quality = "";//采购预算资金性质
    private String append = "";//附信息
    private String status = "";//状态 0未提交；1已提交等待审核； 2退回修改；3审核通过
    private String checkNumber = "";
    private CateDataModel cateData = new CateDataModel();
    private boolean selected = false;
    private String projCode = "";   //项目代码
    private String unit = "";//单位(计量单位:个,张,台...)
    private Integer count = 0;//数量
    private String cateCode = "";
    private Date editDate = new Date();
    private ExecuteAppend app = new ExecuteAppend();
    private String anumber = "";
    private Integer iyear;
    private Integer imonth;
    private String orgCode;
    private int toAsset = 0;//是否已形成资产：1是，0否（已形成资产的，将不会在生成资产的待选列表中出现）
    private String officeCode;//处室
    private String officeName;
    private String deptCode;
    private String deptName;
    private String editPerCode;
    private String editPerName;
    private String addSign;
    
    public CateEditDetail(){
        orgCode = LoginParam.getOrg().getCode();
    }

    public int getpId() {
        return pId;
    }

    public void setpId(int pId) {
        this.pId = pId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Category getCate() {
        return cate;
    }

    public void setCate(Category cate) {
        this.cate = cate;
    }

    public Double getFinancial() {
        return financial;
    }

    public void setFinancial(Double financial) {
        this.financial = financial;
    }

    public Double getOther() {
        return other;
    }

    public void setOther(Double other) {
        this.other = other;
    }

    public String getOrganizeForm() {
        return organizeForm;
    }

    public void setOrganizeForm(String organizeForm) {
        this.organizeForm = organizeForm;
    }

    public String getOrgan() {
        return organ;
    }

    public void setOrgan(String organ) {
        this.organ = organ;
    }

    public String getCateWay() {
        return cateWay;
    }

    public void setCateWay(String cateWay) {
        this.cateWay = cateWay;
    }

    public String getCostWay() {
        return costWay;
    }

    public void setCostWay(String costWay) {
        this.costWay = costWay;
    }

    public String getPlanWay() {
        return planWay;
    }

    public void setPlanWay(String planWay) {
        this.planWay = planWay;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public FinancialProject getProject() {
        return project;
    }

    public void setProject(FinancialProject project) {
        this.project = project;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getQuality() {
        return quality;
    }

    public void setQuality(String quality) {
        this.quality = quality;
    }

    public String getAppend() {
        return append;
    }

    public void setAppend(String append) {
        this.append = append;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCheckNumber() {
        return checkNumber;
    }

    public void setCheckNumber(String checkNumber) {
        this.checkNumber = checkNumber;
    }

    public CateDataModel getCateData() {
        return cateData;
    }

    public void setCateData(CateDataModel cateData) {
        this.cateData = cateData;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    public String getProjCode() {
        return projCode;
    }

    public void setProjCode(String projCode) {
        this.projCode = projCode;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getCateCode() {
        return cateCode;
    }

    public void setCateCode(String cateCode) {
        this.cateCode = cateCode;
    }

    public Date getEditDate() {
        return editDate;
    }

    public void setEditDate(Date editDate) {
        this.editDate = editDate;
    }

    public ExecuteAppend getApp() {
        return app;
    }

    public void setApp(ExecuteAppend app) {
        this.app = app;
    }

    public String getAnumber() {
        return anumber;
    }

    public void setAnumber(String anumber) {
        this.anumber = anumber;
    }

    public Integer getIyear() {
        return iyear;
    }

    public void setIyear(Integer iyear) {
        this.iyear = iyear;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public int getToAsset() {
        return toAsset;
    }

    public void setToAsset(int toAsset) {
        this.toAsset = toAsset;
    }

    public Integer getImonth() {
        return imonth;
    }

    public void setImonth(Integer imonth) {
        this.imonth = imonth;
    }

    public String getOfficeCode() {
        return officeCode;
    }

    public void setOfficeCode(String officeCode) {
        this.officeCode = officeCode;
    }

    public String getOfficeName() {
        return officeName;
    }

    public void setOfficeName(String officeName) {
        this.officeName = officeName;
    }

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getEditPerCode() {
        return editPerCode;
    }

    public void setEditPerCode(String editPerCode) {
        this.editPerCode = editPerCode;
    }

    public String getEditPerName() {
        return editPerName;
    }

    public void setEditPerName(String editPerName) {
        this.editPerName = editPerName;
    }

    public String getAddSign() {
        return addSign;
    }

    public void setAddSign(String addSign) {
        this.addSign = addSign;
    }
}
